package com.liuyu.common.framework.message.service.facade;

import com.liuyu.common.framework.message.model.MobileCaptchaCmd;
import com.liuyu.common.framework.message.model.SmsSceneCmd;
import com.liuyu.common.framework.message.model.SmsSceneQueryCmd;
import com.liuyu.common.framework.message.model.SmsSceneVo;
import com.liuyu.common.framework.web.response.ApiResponse;

import java.util.List;

/**
 * 消息服务接口
 * @author: liuyu
 * @date: 2022/3/28 17:15
 * @version: 1
 */
public interface MessageService {

    /**
     * 發送短信驗證碼
     * @author liuyu
     * @date 2022/3/28 17:22
     * @param mobileVerifyCodeCmd
     * @return com.liuyu.common.framework.web.response.ApiResponse
     */
    ApiResponse sendMobileCaptcha(MobileCaptchaCmd mobileVerifyCodeCmd);

    /**
     * 新增短信场景
     * @author liuyu
     * @date 2022/3/28 22:26
     * @param smsSceneCmd
     * @return com.liuyu.common.framework.web.response.ApiResponse
     */
    ApiResponse saveSmsScene(SmsSceneCmd smsSceneCmd);

    /**
     * 验证短信验证码
     * @author liuyu
     * @date 2022/4/2 9:51
     * @param mobileVerifyCodeCmd
     * @return com.liuyu.common.framework.web.response.ApiResponse
     */
    ApiResponse checkMobileCaptcha(MobileCaptchaCmd mobileVerifyCodeCmd);

    /**
     * 删除短信验证码
     * @author liuyu
     * @date 2022/4/11 23:50
     * @param mobileCaptchaCmd
     * @return com.liuyu.common.framework.web.response.ApiResponse
     */
    ApiResponse deleteMobileCaptcha(MobileCaptchaCmd mobileCaptchaCmd);

    /**
     * 查询短信场景清单
     * @author liuyu
     * @date 2022/7/20 18:27
     * @param smsSceneCmd
     * @throws
     * @return java.util.List<com.liuyu.common.framework.message.model.SmsSceneVo>
     */
    List<SmsSceneVo> listSmsScene(SmsSceneQueryCmd smsSceneCmd);
}
